<?php
require "../../system/framework.php";

$data=array();
$data['password']=$_REQUEST['password'];
$userId=config::$userData[config::$userTable . '_id'];
db::saveData(config::$userTable, $data, $userId);

user::login(config::$userData['login'], $_REQUEST['password']);

http::redirect("[php_property:action]");
?>